import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        int[] nums = {1, 2, 3, 4, 5};
        Test test = new Test();
        test.rotatingArray1(nums, 6);
        System.out.println(Arrays.toString(nums));
        test.rotatingArray2(nums, 6);
        System.out.println(Arrays.toString(nums));
    }

    public static void main1(String[] args) {
        int[] nums = {0, 1, 2, 4, 5};
        Test test = new Test();
        System.out.println(test.disappearingNumbers1(nums));
        System.out.println(test.disappearingNumbers2(nums));
    }
}
